package com.tencreat.domain.mall.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.tencreat.common.core.domain.dto.BasePageEntityDTO;
import com.tencreat.common.enums.AfterSaleStatus;
import com.tencreat.common.enums.OrderStatus;
import com.tencreat.common.enums.OrderType;
import com.tencreat.common.enums.PayType;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * 供应商后台--订单发货
 * @author zixin
 */
@Data
public class MallSupplierOrderListDTO extends BasePageEntityDTO {

    @ApiModelProperty(value = "商品ID")
    private Long goodsId;

    @ApiModelProperty("商品名称")
    private String goodsName;

    @ApiModelProperty("订单编号")
    private String orderSn;

    @ApiModelProperty("收件人名称")
    private String consignee;

    @ApiModelProperty("手机号")
    private String mobile;

    @ApiModelProperty("商品类型")
    private OrderType orderType;

    @ApiModelProperty("开始下单时间")
    private LocalDateTime startOrderTime;

    @ApiModelProperty("结束下单时间")
    private LocalDateTime endOrderTime;

    @ApiModelProperty(value = "用户ID", hidden = true)
    private Long userId;



    @ApiModelProperty("排序字段")
    private String sortStr;

    @ApiModelProperty("排序规则")
    private String sortDesc;

    @ApiModelProperty("售后状态")
    private AfterSaleStatus aftersaleStatus;
    @ApiModelProperty("支付方式")
    private PayType payType;
    @ApiModelProperty("订单状态")
    private OrderStatus orderStatus;

    @ApiModelProperty("订单标记  4-虚拟订单")
    private Integer orderMold;
}
